﻿using System;
using System.ComponentModel.DataAnnotations;

namespace MiniWeb.Web.Controllers.Admin.OrdersDetailManager.ViewModels
{
    public class SaveOrdersDetail
    {

        public int? ID { get; set; }

        [Display(Name = "订单号"), Required(ErrorMessage = "请输入！")]
        public string OrderCode { get; set; }

        [Display(Name = "产品ID"), Required(ErrorMessage = "请输入！")]
        public int ProductID { get; set; }

        [Display(Name = "产品名称"), Required(ErrorMessage = "请输入！")]
        public string ProductName { get; set; }

        [Display(Name = "产品小图"), Required(ErrorMessage = "请输入！")]
        public string ProductImg { get; set; }

        [Display(Name = "价格"), Required(ErrorMessage = "请输入！")]
        public decimal Price { get; set; }



        [Display(Name = "颜色")]
        public int Color { get; set; }

        [Display(Name = "配置")]
        public int PeiZhi { get; set; }




    }
}